<template>
    <div class="news">
        <h1>新闻页面</h1>
        <router-link to="/news/tv">TV</router-link> |
        <router-link to="/news/film">film</router-link>
        <router-view/>
    </div>
</template>

<script>
export default {
    name:'NewsView'
}
</script>

<style>
.news{
  width: 400px;
  border: 1px solid #000;
  margin: 20px auto;
}
</style>